package com.ncucoder.demo.vo;

/**
 * Response view object
 *
 * @author <a href="https://edit.ncucoder.com">hsowan</a>
 * @since 2018-12-24 23:56
 */
public class Response {
    private Boolean success;
    private String message;
    private Object content;

    public Response() {
    }

    public Response(Boolean success, String message, Object content) {
        this.success = success;
        this.message = message;
        this.content = content;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "Response{" +
                "success=" + success +
                ", message='" + message + '\'' +
                ", content=" + content +
                '}';
    }
}
